package net.pokurt.aniryu

import androidx.appcompat.app.AppCompatDelegate
import androidx.multidex.MultiDexApplication
import net.pokurt.aniryu.utils.realm.InitalizeRealm
import org.conscrypt.Conscrypt
import timber.log.Timber
import java.security.Security

class aniryu : MultiDexApplication() {

    override fun onCreate() {
        super.onCreate()
        Security.insertProviderAt(Conscrypt.newProvider(), 1)
        AppCompatDelegate.setCompatVectorFromResourcesEnabled(true)
        InitalizeRealm.initializeRealm(this)

        if (BuildConfig.DEBUG) {
            Timber.plant(Timber.DebugTree())
        }
    }
}
